package com.sdkj.dspservice.modules.analysis.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.sdkj.dspservice.common.base.service.impl.BaseServiceImpl;
import com.sdkj.dspservice.modules.analysis.dao.PageParamAnalysisDao;
import com.sdkj.dspservice.modules.analysis.entity.PageParamAnalysis;
import com.sdkj.dspservice.modules.analysis.service.PageParamAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 需求类型service实现类
 *
 * @author tm
 */
@Service
@Transactional(readOnly = true)
@DS(value="clickhouse")
public class PageParamAnalysisServiceImpl extends BaseServiceImpl<PageParamAnalysisDao, PageParamAnalysis> implements PageParamAnalysisService {

    @Autowired
    private PageParamAnalysisDao dao;


    @Override
    public Integer count(PageParamAnalysis pageParamAnalysis) {
        return dao.count(pageParamAnalysis);
    }

    @Override
    public List<PageParamAnalysis> list(PageParamAnalysis pageParamAnalysis) {
        return dao.list(pageParamAnalysis);
    }

    @Override
    public List<PageParamAnalysis> listCity(PageParamAnalysis pageParamAnalysis) {
        return dao.listCity(pageParamAnalysis);
    }

    @Override
    public List<PageParamAnalysis> listChildren(PageParamAnalysis pageParamAnalysis) {
        return dao.listChildren(pageParamAnalysis);
    }

    @Override
    public List<PageParamAnalysis> listChildCity(PageParamAnalysis pageParamAnalysis) {
        return dao.listChildCity(pageParamAnalysis);
    }

    @Override
    public List<PageParamAnalysis> listVisitBefore(PageParamAnalysis pageParamAnalysis) {
        return dao.listVisitBefore(pageParamAnalysis);
    }

    @Override
    public List<PageParamAnalysis> listVisitBeforeCity(PageParamAnalysis pageParamAnalysis) {
        return dao.listVisitBeforeCity(pageParamAnalysis);
    }
}
